3.16.29 \(\int \frac {(a d e+(c d^2+a e^2) x+c d e x^2)^2}{(d+e x)^2} \, dx\)

Optimal. Leaf size=20 \[ \frac {(a e+c d x)^3}{3 c d} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {626, 32} \begin {gather*} \frac {(a e+c d x)^3}{3 c d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^2/(d + e*x)^2,x]

[Out]

(a*e + c*d*x)^3/(3*c*d)

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rule 626

Int[((d_) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[(d + e*x)^(m + p)*(a
/d + (c*x)/e)^p, x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0] &&
 IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^2}{(d+e x)^2} \, dx &=\int (a e+c d x)^2 \, dx\\ &=\frac {(a e+c d x)^3}{3 c d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 20, normalized size = 1.00 \begin {gather*} \frac {(a e+c d x)^3}{3 c d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^2/(d + e*x)^2,x]

[Out]

(a*e + c*d*x)^3/(3*c*d)

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.06, size = 20, normalized size = 1.00 \begin {gather*} \frac {(a e+c d x)^3}{3 c d} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^2/(d + e*x)^2,x]

[Out]

(a*e + c*d*x)^3/(3*c*d)

________________________________________________________________________________________

fricas [A]  time = 0.37, size = 28, normalized size = 1.40 \begin {gather*} \frac {1}{3} \, c^{2} d^{2} x^{3} + a c d e x^{2} + a^{2} e^{2} x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^2/(e*x+d)^2,x, algorithm="fricas")

[Out]

1/3*c^2*d^2*x^3 + a*c*d*e*x^2 + a^2*e^2*x

________________________________________________________________________________________

giac [B]  time = 0.17, size = 86, normalized size = 4.30 \begin {gather*} \frac {1}{3} \, {\left (c^{2} d^{2} - \frac {3 \, {\left (c^{2} d^{3} e - a c d e^{3}\right )} e^{\left (-1\right )}}{x e + d} + \frac {3 \, {\left (c^{2} d^{4} e^{2} - 2 \, a c d^{2} e^{4} + a^{2} e^{6}\right )} e^{\left (-2\right )}}{{\left (x e + d\right )}^{2}}\right )} {\left (x e + d\right )}^{3} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^2/(e*x+d)^2,x, algorithm="giac")

[Out]

1/3*(c^2*d^2 - 3*(c^2*d^3*e - a*c*d*e^3)*e^(-1)/(x*e + d) + 3*(c^2*d^4*e^2 - 2*a*c*d^2*e^4 + a^2*e^6)*e^(-2)/(
x*e + d)^2)*(x*e + d)^3*e^(-3)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 19, normalized size = 0.95 \begin {gather*} \frac {\left (c d x +a e \right )^{3}}{3 c d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^2/(e*x+d)^2,x)

[Out]

1/3*(c*d*x+a*e)^3/c/d

________________________________________________________________________________________

maxima [A]  time = 0.98, size = 28, normalized size = 1.40 \begin {gather*} \frac {1}{3} \, c^{2} d^{2} x^{3} + a c d e x^{2} + a^{2} e^{2} x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^2/(e*x+d)^2,x, algorithm="maxima")

[Out]

1/3*c^2*d^2*x^3 + a*c*d*e*x^2 + a^2*e^2*x

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 28, normalized size = 1.40 \begin {gather*} a^2\,e^2\,x+a\,c\,d\,e\,x^2+\frac {c^2\,d^2\,x^3}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(a*e^2 + c*d^2) + a*d*e + c*d*e*x^2)^2/(d + e*x)^2,x)

[Out]

a^2*e^2*x + (c^2*d^2*x^3)/3 + a*c*d*e*x^2

________________________________________________________________________________________

sympy [B]  time = 0.13, size = 29, normalized size = 1.45 \begin {gather*} a^{2} e^{2} x + a c d e x^{2} + \frac {c^{2} d^{2} x^{3}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**2/(e*x+d)**2,x)

[Out]

a**2*e**2*x + a*c*d*e*x**2 + c**2*d**2*x**3/3

________________________________________________________________________________________